﻿using System.Collections.Generic;

namespace Sidvall.UI.Dialogs
{
    public class LogOnDialogContext
    {
        #region Public Members

        public string AuthorizeEndpoint { get; set; }
        public string ClientId { get; set; }
        public string ResponseType { get; set; }
        public string Scope { get; set; }
        public string RedirectAddress { get; set; }
        public string State { get; set; }
        public string Nonce { get; set; }
        public string LogOnHint { get; set; }
        public string AuthenticationContextReferences { get; set; }
        public string Prompt { get; set; }
        public string ResponseMode { get; set; }
        public string CodeChallenge { get; set; }
        public string CodeChallengeMethod { get; set; }
        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2227:CollectionPropertiesShouldBeReadOnly")]
        public Dictionary<string, string> AdditionalValues { get; set; }
        public Sidvall.UI.Entities.IdentityProviderCollection IdentityProviders { get; set; }

        // Response values
        public Sidvall.Security.AuthorizeResponse AuthorizeResponse { get; set; }
        public string UserResponse { get; set; }
        public bool StoreResponses { get; set; }

        #endregion
        #region Constructor

        public LogOnDialogContext()
        {
        }

        #endregion
    }
}
